package com.gqzm.side.common.result;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName: {@link PageDTO}
 * @description: 分页查询请求体
 * @author: peter qin
 * @date: 2023 07 15
 * @version: 1.0
 **/
@Data
public class PageDTO implements Serializable {
    @NotNull(message = "分页页码不能为空")
    private Integer pageNum = 1;
    @NotNull(message = "每页大小不能为空")
    private Integer pageSize = 10;
}
